﻿using System;

namespace CSEngine
{
    public sealed class Player
    {
        private SpaceColor playerColor;
        private String name;

        public Player(String playerName, SpaceColor color)
        {
            name = playerName;
            playerColor = color;
        }

        public SpaceColor Color
        {
            get { return playerColor; }
            set { playerColor = value; }
        }

        /// <summary>
        /// Get or set this player's name
        /// </summary>
        public String Name
        {
            get { return name; }
            set { name = value; }
        }
    }
}
